home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / adatutor / cppwkbk / cppv2-12.cpp < prev    next >
C/C++ Source or Header  |  1996-01-30  |  253b  |  14 lines

  1. #define HEADER "C++ Problem 2.1 by Rick Conn using Borland C++"
  2. #include <stdio.h>
  3.  
  4. int fcppv21(float);  // prototype with wrong arg type
  5.  
  6. void main(void)
  7. {
  8.   int i;
  9.  
  10.   printf("%s\n", HEADER);
  11.   i = fcppv21(2.0);
  12.   printf("I = %d\n", i);
  13. }
  14.